import { get } from '@/util/request'

export function getProductList(query: ProductQuery) {
    return get<Array<Product>>('/product/list', query)
}
export function getRecommendProductList() {
    return get<Array<Product>>('/product/recommend')
}
export function getCategoryList() {
    return get<Array<Category>>('/category/list')
}
export function getBrandList() {
    return get<Array<Brand>>('/brand/list')
}
export function getHotBrand() {
    return get<Array<Brand>>('/brand/hot')
}
